package com.tim.app.server.result;

import java.util.List;

/**
 * Created by wdy on 2017/8/24.
 */

public class IncomeChargeBean {

    /**
     * code : 10000
     * message : success
     * total : 18
     * res : {"arraylist":{"pageSize":10,"shownumwidth":5,"totalCount":18,"totalPageCount":2,"currentPageNo":1,"nextPage":true,"previousPage":false,"showNumList":[1,2],"result":[{"id":51,"userId":1000539,"recoreTime":1503570550000,"dataType":"increase","agoMoney":228.08,"afterMoney":248.08,"changeMoney":20,"operationType":"sign","createTime":1503570550000,"updateTime":1503570549000,"deleted":0},{"id":50,"userId":1000539,"recoreTime":1503570539000,"dataType":"increase","agoMoney":208.08,"afterMoney":228.08,"changeMoney":20,"operationType":"sign","createTime":1503570539000,"updateTime":1503570539000,"deleted":0},{"id":49,"userId":1000539,"recoreTime":1503570530000,"dataType":"increase","agoMoney":188.08,"afterMoney":208.08,"changeMoney":20,"operationType":"sign","createTime":1503570530000,"updateTime":1503570529000,"deleted":0},{"id":48,"userId":1000539,"recoreTime":1503570521000,"dataType":"increase","agoMoney":168.08,"afterMoney":188.08,"changeMoney":20,"operationType":"sign","createTime":1503570521000,"updateTime":1503570520000,"deleted":0},{"id":47,"userId":1000539,"recoreTime":1503570511000,"dataType":"increase","agoMoney":148.08,"afterMoney":168.08,"changeMoney":20,"operationType":"sign","createTime":1503570511000,"updateTime":1503570510000,"deleted":0},{"id":46,"userId":1000539,"recoreTime":1503570493000,"dataType":"increase","agoMoney":128.08,"afterMoney":148.08,"changeMoney":20,"operationType":"sign","createTime":1503570493000,"updateTime":1503570493000,"deleted":0},{"id":45,"userId":1000539,"recoreTime":1503570260000,"dataType":"increase","agoMoney":108.08,"afterMoney":128.08,"changeMoney":20,"operationType":"sign","createTime":1503570260000,"updateTime":1503570260000,"deleted":0},{"id":44,"userId":1000539,"recoreTime":1503570130000,"dataType":"increase","agoMoney":88.08,"afterMoney":108.08,"changeMoney":20,"operationType":"sign","createTime":1503570130000,"updateTime":1503570130000,"deleted":0},{"id":43,"userId":1000539,"recoreTime":1503570115000,"dataType":"increase","agoMoney":68.08,"afterMoney":88.08,"changeMoney":20,"operationType":"sign","createTime":1503570115000,"updateTime":1503570114000,"deleted":0},{"id":42,"userId":1000539,"recoreTime":1503570000000,"dataType":"increase","agoMoney":48.08,"afterMoney":68.08,"changeMoney":20,"operationType":"sign","createTime":1503570000000,"updateTime":1503569999000,"deleted":0}]}}
     */

    private String code;
    private String message;
    private int total;
    private ResBean res;

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public int getTotal() {
        return total;
    }

    public void setTotal(int total) {
        this.total = total;
    }

    public ResBean getRes() {
        return res;
    }

    public void setRes(ResBean res) {
        this.res = res;
    }

    public static class ResBean {
        /**
         * arraylist : {"pageSize":10,"shownumwidth":5,"totalCount":18,"totalPageCount":2,"currentPageNo":1,"nextPage":true,"previousPage":false,"showNumList":[1,2],"result":[{"id":51,"userId":1000539,"recoreTime":1503570550000,"dataType":"increase","agoMoney":228.08,"afterMoney":248.08,"changeMoney":20,"operationType":"sign","createTime":1503570550000,"updateTime":1503570549000,"deleted":0},{"id":50,"userId":1000539,"recoreTime":1503570539000,"dataType":"increase","agoMoney":208.08,"afterMoney":228.08,"changeMoney":20,"operationType":"sign","createTime":1503570539000,"updateTime":1503570539000,"deleted":0},{"id":49,"userId":1000539,"recoreTime":1503570530000,"dataType":"increase","agoMoney":188.08,"afterMoney":208.08,"changeMoney":20,"operationType":"sign","createTime":1503570530000,"updateTime":1503570529000,"deleted":0},{"id":48,"userId":1000539,"recoreTime":1503570521000,"dataType":"increase","agoMoney":168.08,"afterMoney":188.08,"changeMoney":20,"operationType":"sign","createTime":1503570521000,"updateTime":1503570520000,"deleted":0},{"id":47,"userId":1000539,"recoreTime":1503570511000,"dataType":"increase","agoMoney":148.08,"afterMoney":168.08,"changeMoney":20,"operationType":"sign","createTime":1503570511000,"updateTime":1503570510000,"deleted":0},{"id":46,"userId":1000539,"recoreTime":1503570493000,"dataType":"increase","agoMoney":128.08,"afterMoney":148.08,"changeMoney":20,"operationType":"sign","createTime":1503570493000,"updateTime":1503570493000,"deleted":0},{"id":45,"userId":1000539,"recoreTime":1503570260000,"dataType":"increase","agoMoney":108.08,"afterMoney":128.08,"changeMoney":20,"operationType":"sign","createTime":1503570260000,"updateTime":1503570260000,"deleted":0},{"id":44,"userId":1000539,"recoreTime":1503570130000,"dataType":"increase","agoMoney":88.08,"afterMoney":108.08,"changeMoney":20,"operationType":"sign","createTime":1503570130000,"updateTime":1503570130000,"deleted":0},{"id":43,"userId":1000539,"recoreTime":1503570115000,"dataType":"increase","agoMoney":68.08,"afterMoney":88.08,"changeMoney":20,"operationType":"sign","createTime":1503570115000,"updateTime":1503570114000,"deleted":0},{"id":42,"userId":1000539,"recoreTime":1503570000000,"dataType":"increase","agoMoney":48.08,"afterMoney":68.08,"changeMoney":20,"operationType":"sign","createTime":1503570000000,"updateTime":1503569999000,"deleted":0}]}
         */

        private ArraylistBean arraylist;

        public ArraylistBean getArraylist() {
            return arraylist;
        }

        public void setArraylist(ArraylistBean arraylist) {
            this.arraylist = arraylist;
        }

        public static class ArraylistBean {
            /**
             * pageSize : 10
             * shownumwidth : 5
             * totalCount : 18
             * totalPageCount : 2
             * currentPageNo : 1
             * nextPage : true
             * previousPage : false
             * showNumList : [1,2]
             * result : [{"id":51,"userId":1000539,"recoreTime":1503570550000,"dataType":"increase","agoMoney":228.08,"afterMoney":248.08,"changeMoney":20,"operationType":"sign","createTime":1503570550000,"updateTime":1503570549000,"deleted":0},{"id":50,"userId":1000539,"recoreTime":1503570539000,"dataType":"increase","agoMoney":208.08,"afterMoney":228.08,"changeMoney":20,"operationType":"sign","createTime":1503570539000,"updateTime":1503570539000,"deleted":0},{"id":49,"userId":1000539,"recoreTime":1503570530000,"dataType":"increase","agoMoney":188.08,"afterMoney":208.08,"changeMoney":20,"operationType":"sign","createTime":1503570530000,"updateTime":1503570529000,"deleted":0},{"id":48,"userId":1000539,"recoreTime":1503570521000,"dataType":"increase","agoMoney":168.08,"afterMoney":188.08,"changeMoney":20,"operationType":"sign","createTime":1503570521000,"updateTime":1503570520000,"deleted":0},{"id":47,"userId":1000539,"recoreTime":1503570511000,"dataType":"increase","agoMoney":148.08,"afterMoney":168.08,"changeMoney":20,"operationType":"sign","createTime":1503570511000,"updateTime":1503570510000,"deleted":0},{"id":46,"userId":1000539,"recoreTime":1503570493000,"dataType":"increase","agoMoney":128.08,"afterMoney":148.08,"changeMoney":20,"operationType":"sign","createTime":1503570493000,"updateTime":1503570493000,"deleted":0},{"id":45,"userId":1000539,"recoreTime":1503570260000,"dataType":"increase","agoMoney":108.08,"afterMoney":128.08,"changeMoney":20,"operationType":"sign","createTime":1503570260000,"updateTime":1503570260000,"deleted":0},{"id":44,"userId":1000539,"recoreTime":1503570130000,"dataType":"increase","agoMoney":88.08,"afterMoney":108.08,"changeMoney":20,"operationType":"sign","createTime":1503570130000,"updateTime":1503570130000,"deleted":0},{"id":43,"userId":1000539,"recoreTime":1503570115000,"dataType":"increase","agoMoney":68.08,"afterMoney":88.08,"changeMoney":20,"operationType":"sign","createTime":1503570115000,"updateTime":1503570114000,"deleted":0},{"id":42,"userId":1000539,"recoreTime":1503570000000,"dataType":"increase","agoMoney":48.08,"afterMoney":68.08,"changeMoney":20,"operationType":"sign","createTime":1503570000000,"updateTime":1503569999000,"deleted":0}]
             */

            private int pageSize;
            private int shownumwidth;
            private int totalCount;
            private int totalPageCount;
            private int currentPageNo;
            private boolean nextPage;
            private boolean previousPage;
            private List<Integer> showNumList;
            private List<ResultBean> result;

            public int getPageSize() {
                return pageSize;
            }

            public void setPageSize(int pageSize) {
                this.pageSize = pageSize;
            }

            public int getShownumwidth() {
                return shownumwidth;
            }

            public void setShownumwidth(int shownumwidth) {
                this.shownumwidth = shownumwidth;
            }

            public int getTotalCount() {
                return totalCount;
            }

            public void setTotalCount(int totalCount) {
                this.totalCount = totalCount;
            }

            public int getTotalPageCount() {
                return totalPageCount;
            }

            public void setTotalPageCount(int totalPageCount) {
                this.totalPageCount = totalPageCount;
            }

            public int getCurrentPageNo() {
                return currentPageNo;
            }

            public void setCurrentPageNo(int currentPageNo) {
                this.currentPageNo = currentPageNo;
            }

            public boolean isNextPage() {
                return nextPage;
            }

            public void setNextPage(boolean nextPage) {
                this.nextPage = nextPage;
            }

            public boolean isPreviousPage() {
                return previousPage;
            }

            public void setPreviousPage(boolean previousPage) {
                this.previousPage = previousPage;
            }

            public List<Integer> getShowNumList() {
                return showNumList;
            }

            public void setShowNumList(List<Integer> showNumList) {
                this.showNumList = showNumList;
            }

            public List<ResultBean> getResult() {
                return result;
            }

            public void setResult(List<ResultBean> result) {
                this.result = result;
            }

            public static class ResultBean {
                /**
                 * id : 51
                 * userId : 1000539
                 * recoreTime : 1503570550000
                 * dataType : increase
                 * agoMoney : 228.08
                 * afterMoney : 248.08
                 * changeMoney : 20.0
                 * operationType : sign
                 * createTime : 1503570550000
                 * updateTime : 1503570549000
                 * deleted : 0
                 */

                private int id;
                private int userId;
                private long recoreTime;
                private String dataType;
                private double agoMoney;
                private double afterMoney;
                private double changeMoney;
                private String operationType;
                private long createTime;
                private long updateTime;
                private int deleted;

                public int getId() {
                    return id;
                }

                public void setId(int id) {
                    this.id = id;
                }

                public int getUserId() {
                    return userId;
                }

                public void setUserId(int userId) {
                    this.userId = userId;
                }

                public long getRecoreTime() {
                    return recoreTime;
                }

                public void setRecoreTime(long recoreTime) {
                    this.recoreTime = recoreTime;
                }

                public String getDataType() {
                    return dataType;
                }

                public void setDataType(String dataType) {
                    this.dataType = dataType;
                }

                public double getAgoMoney() {
                    return agoMoney;
                }

                public void setAgoMoney(double agoMoney) {
                    this.agoMoney = agoMoney;
                }

                public double getAfterMoney() {
                    return afterMoney;
                }

                public void setAfterMoney(double afterMoney) {
                    this.afterMoney = afterMoney;
                }

                public double getChangeMoney() {
                    return changeMoney;
                }

                public void setChangeMoney(double changeMoney) {
                    this.changeMoney = changeMoney;
                }

                public String getOperationType() {
                    return operationType;
                }

                public void setOperationType(String operationType) {
                    this.operationType = operationType;
                }

                public long getCreateTime() {
                    return createTime;
                }

                public void setCreateTime(long createTime) {
                    this.createTime = createTime;
                }

                public long getUpdateTime() {
                    return updateTime;
                }

                public void setUpdateTime(long updateTime) {
                    this.updateTime = updateTime;
                }

                public int getDeleted() {
                    return deleted;
                }

                public void setDeleted(int deleted) {
                    this.deleted = deleted;
                }
            }
        }
    }
}
